package com.example.demo.service;

import com.example.demo.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IArticleReplyService {
    /*
    * 新增帖子回复*/
    @Transactional
    void create (ArticleReply articleReply);

    /**
     * 根据帖子Id查询所有的回复
     * @param articleId
     * @return
     */
    List<ArticleReply> selectByArticleId (Long articleId);
}
